package com.shemy.mapper;
import org.apache.ibatis.annotations.Param;

import com.shemy.entity.SysUser;import java.util.List;

public interface SysUserMapper {
    int deleteByPrimaryKey(Integer userId);

    int insert(SysUser record);

    int insertSelective(SysUser record);

    SysUser selectByPrimaryKey(Integer userId);

    int updateByPrimaryKeySelective(SysUser record);

    int updateByPrimaryKey(SysUser record);

    List<SysUser> findByAll();

    List<SysUser> findAllByAccountAndPassword(@Param("account")String account,@Param("password")String password);


}